projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ed3883
)
pull: Squash some uninitialized variable warnings
author
Colin Walters
<walters@verbum.org>
Mon, 8 Sep 2014 17:42:50 +0000
(13:42 -0400)
committer
Colin Walters
<walters@verbum.org>
Mon, 8 Sep 2014 17:43:12 +0000
(13:43 -0400)
src/libostree/ostree-repo-pull.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-repo-pull.c
b/src/libostree/ostree-repo-pull.c
index 273c963cb31d0d099bf0064011992b8b51f17098..e89e72326692f4bbb6d16c1b87943125c84d8399 100644
(file)
--- a/
src/libostree/ostree-repo-pull.c
+++ b/
src/libostree/ostree-repo-pull.c
@@
-1470,11
+1470,11
@@
ostree_repo_pull_one_dir (OstreeRepo *self,
while (g_hash_table_iter_next (&hash_iter, &key, &value))
{
const char *branch = key;
- char *contents;
+ char *contents
= NULL
;
if (pull_data->summary)
{
- guint64 commit_size;
+ guint64 commit_size
= 0
;
guint64 *malloced_size;
if (!lookup_commit_checksum_from_summary (pull_data, branch, &contents, &commit_size, error))